package com.stadium.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.util.Date;
import java.util.List;

/**
 * 招募表
 *
 * @author wsl
 * @email
 * @date 2021-05-22 07:47:13
 */
@Data
@ApiModel(value = "招募表Dto")
public class RecruitPlayersDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "分类")
    private String categoryId;
    @ApiModelProperty(value = "分类名称")
    private String categoryName;
    @ApiModelProperty(value = "发布人id")
    private String userId;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "活动区域")
    private String area;
    @ApiModelProperty(value = "球队id")
    private String teamId;
    @ApiModelProperty(value = "球队名称")
    private String teamName;
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "招募类型（1：招募球员，2：寻找球队）")
    private String type;
    @ApiModelProperty(value = "若为招募球员类型下显示球队得logo")
    private String logo;
    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date releaseTime;
    private List<RRecruitPhotoDto> photos;

}
